﻿using Microsoft.EntityFrameworkCore;
using Model;

namespace DAL
{
    public class MyDbContext : DbContext
    {
        private readonly DbContextOptions options;

        public MyDbContext(DbContextOptions options) : base(options)
        {
            this.options = options;
        }
        //门店表
        public DbSet<Store> Stores { get; set; }
        //地区表
        public DbSet<Address> Addresses { get; set; }
    }
}
